var e = require("./@babel/runtime/helpers/interopRequireDefault.js")(require("./@babel/runtime/helpers/typeof.js"));

module.exports = function(r) {
    if (Array.isArray(r)) return 0 === r.length;
    if ("object" === (0, e.default)(r)) {
        if (r) for (var t in r) return !1;
        return !0;
    }
    return !r;
};